package com.rico.web;

import com.github.lianjiatech.retrofit.spring.boot.annotation.RetrofitScan;
import com.rico.web.testimport.HelloImport;
import com.rico.web.testimport.ModelImportSelector;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

@SpringBootApplication
//@ComponentScan({"com.plumelog","com.manfred"})
@Import({ModelImportSelector.class, HelloImport.class})
@RetrofitScan("com.rico.web.retrofit")
public class WebApplication {

    public static void main(String args[]){
        SpringApplication.run(WebApplication.class,args);
    }
}
